Clean up gdk_draw_drawable() composite handling
authorAlexander Larsson <alexl@redhat.com>
Tue, 25 Aug 2009 08:34:10 +0000 (10:34 +0200)
committerAlexander Larsson <alexl@redhat.com>
Tue, 25 Aug 2009 08:37:18 +0000 (10:37 +0200)
commitc2546c859d3f41b0bf736c94101a9d65ea538afa
treee134f9a885cb57cf0175289b495d23368ff90deb
parentc0084e21422c28e1b1039e509622e2b354b857f4
Clean up gdk_draw_drawable() composite handling

Instead of doing some magic in gdk_draw_drawable() to avoid double
offsetting when calling gdk_draw_drawable on the impl we call
the vfunc directly on the impl. Thus removing the weird magic from
gdk_draw_drawable().

I tested this with the testgtk test "text", where if the original magic
code is disabled typing a newline in the middle of a text line causes
the double offset issue to appear.
gdk/gdkdraw.c
gdk/gdkpixmap.c
gdk/gdkwindow.c